﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 申请单明细项目表
    /// </summary>
    public partial class ApplyTbDetail
    {
        /// <summary>
        /// 主键(Apply_Key_List)
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 申请单主表ID(Apply_Tb_List)
        /// </summary>
        public int? ListId { get; set; }
        /// <summary>
        /// 申请单项目代码
        /// </summary>
        public string? ItemCode { get; set; }
        /// <summary>
        /// 医技代码
        /// </summary>
        public string? MedicalCode { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string? ItemName { get; set; }
        /// <summary>
        /// 项目数量
        /// </summary>
        public decimal? Num { get; set; }
        /// <summary>
        /// 申请单项目分类代码
        /// </summary>
        public string? FormCode { get; set; }
        /// <summary>
        /// 加急标识
        /// </summary>
        public bool? UrgentFlag { get; set; }
        /// <summary>
        /// 床旁标识
        /// </summary>
        public bool? BedFlag { get; set; }
        /// <summary>
        /// 检验标本类型ID
        /// </summary>
        public int? SpecId { get; set; }
        /// <summary>
        /// 是否第三方添加项目
        /// </summary>
        public bool? ThirdFlag { get; set; }
        /// <summary>
        /// 第三方是否接收
        /// </summary>
        public bool? ReceiveFlag { get; set; }
        /// <summary>
        /// 计费标识
        /// 0 未计费
        /// 1 已计费
        /// 2 计费中
        /// 3 已退费
        /// </summary>
        public int? ChargeFlag { get; set; }
        /// <summary>
        /// 计费时间
        /// </summary>
        public DateTime? ChargeDate { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? CreatorId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public int? UpdatorId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateDate { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public byte? HospitalId { get; set; }
        /// <summary>
        /// 科研标识
        /// </summary>
        public bool? ScienFlag { get; set; }
        /// <summary>
        /// 对照检查项目ID(逗号拼接)
        /// </summary>
        public string? ConItemIds { get; set; }
        public bool? InternalFlag { get; set; }
        public string? ApplyClass { get; set; }
        public string? Remark { get; set; }
        /// <summary>
        /// 减免标识
        /// </summary>
        public bool? ReliefFlag { get; set; }
        public int? SpecSource { get; set; }
    }
}
